package cn.edu.scau.cmi.yewangjiang.hibernate.domain;

import javafx.beans.property.SimpleStringProperty;


public class TeacherModel {
    private final SimpleStringProperty id;
    private final SimpleStringProperty name;
 
    public TeacherModel(String id, String name) {
        this.id = new SimpleStringProperty(id);
        this.name = new SimpleStringProperty(name);
    }
 
    public String getId() {
        return id.get();
    }
 
    public void setId(String fName) {
        id.set(fName);
    }
 
    public String getName() {
        return name.get();
    }
 
    public void setName(String fName) {
        name.set(fName);
    }
}
